package com.ruoyi.ae.api;

import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(contextId = "remoteAeStoreInfoService", value = ServiceNameConstants.AE_SERVICE)
public interface RemoteAeStoreInfoService {

    @GetMapping("/ae/sellerStore/querySellerStoreInfo/{storeId}")
    public R<Object> querySellerStoreInfo(@PathVariable("storeId") String storeId);

    @GetMapping("/ae/auth/getAccessTokenInfo/{storeId}/{code}")
    public R<Object> getAccessTokenInfo(@PathVariable("storeId") Long storeId, @PathVariable("code") String code);
}
